unit adapt_consts;
{$IFDEF FPC}
{$mode delphi}
{$ENDIF}

interface

uses
  Classes, SysUtils, bass, Pl_Consts;
const
{----------------ENGINE_CONSTS-----------------------}
  ENGINE_ATTRIB_VOL_CHAN = BASS_ATTRIB_MUSIC_VOL_CHAN;
  ENGINE_ATTRIB_VOL = BASS_ATTRIB_VOL;
  ENGINE_POS_BYTE = BASS_POS_BYTE;
  ENGINE_PLUGINSDIR = _slash+ 'plugins';
  {$IFDEF MSWINDOWS}
    ENGINE_PLUGINSFILT = 'bass*.dll';
  {$ENDIF}
  {$IFDEF LINUX}
    ENGINE_PLUGINSFILT = 'libbass*.so';
  {$ENDIF}
  {$IFDEF MACOS}
    ENGINE_PLUGINSFILT = 'libbass*.dynlib';
  {$ENDIF}

{-------------V-CONSTS------------------------------}
type
  ENGINE_PLUGIN = BASS_PluginInfo;
  ENGINE_PPLUGIN= PBASS_PluginInfo;
  TPLUGIN_REC = packed record
    pl_hndl: DWORD;
    pl_fname: pchar;
  end;
  ENGINE_ID3 = TAG_ID3;
  ENGINE_APE = TAG_APE_BINARY;
  ENGINE_BEXT = TAG_BEXT;

implementation

end.

